package com.sanyang.logistics.sch.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.sanyang.logistics.pojo.DriverDim;
import com.sanyang.logistics.pojo.OrderStatus;
import com.sanyang.logistics.pojo.OwnerTypeDim;
import com.sanyang.logistics.pojo.Sysorders;
import com.sanyang.logistics.pojo.ThirdParty;
import com.sanyang.logistics.pojo.TruckDim;
import com.sanyang.logistics.sch.dao.SysorderDao;

public class SysorderServicelmp implements SysorderService {
	
	@Autowired
	private SysorderDao dao;

	@Override
	public List<Sysorders> sysorderall(Sysorders sysorders) {
		List<Sysorders> sysorderall = dao.sysorderall(sysorders);
		return sysorderall;
	}

	@Override
	public void sysorderdele(Integer oid) {
		dao.sysorderdele(oid);
		
	}

	@Override
	public List<OrderStatus> order_statusall() {
		List<OrderStatus> order_statusall = dao.order_statusall();
		return order_statusall;
	}

	@Override
	public List<TruckDim> truck_dimall(TruckDim truckDim) {
		List<TruckDim> truck_dimall = dao.truck_dimall(truckDim);
		return truck_dimall;
	}

	@Override
	public List<DriverDim> driver_dimall(DriverDim driverDim) {
		List<DriverDim> driver_dimall = dao.driver_dimall(driverDim);
		return driver_dimall;
	}

	@Override
	public List<ThirdParty> thirdpartyall(ThirdParty thirdParty) {
		List<ThirdParty> thirdpartyall = dao.thirdpartyall(thirdParty);
		return thirdpartyall;
	}

	@Override
	public List<OwnerTypeDim> owner_type_dimall() {
		List<OwnerTypeDim> owner_type_dimall = dao.owner_type_dimall();
		return owner_type_dimall;
	}

}
